package com.quanyan.travel.entity;

import com.quanyan.common.Plugin.Page;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbOutdoorOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbOutdoorOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTradeOrderNoIsNull() {
            addCriterion("trade_order_no is null");
            return (Criteria) this;
        }

        public Criteria andTradeOrderNoIsNotNull() {
            addCriterion("trade_order_no is not null");
            return (Criteria) this;
        }

        public Criteria andTradeOrderNoEqualTo(String value) {
            addCriterion("trade_order_no =", value, "tradeOrderNo");
            return (Criteria) this;
        }

        public Criteria andTradeOrderNoNotEqualTo(String value) {
            addCriterion("trade_order_no <>", value, "tradeOrderNo");
            return (Criteria) this;
        }

        public Criteria andTradeOrderNoGreaterThan(String value) {
            addCriterion("trade_order_no >", value, "tradeOrderNo");
            return (Criteria) this;
        }

        public Criteria andTradeOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("trade_order_no >=", value, "tradeOrderNo");
            return (Criteria) this;
        }

        public Criteria andTradeOrderNoLessThan(String value) {
            addCriterion("trade_order_no <", value, "tradeOrderNo");
            return (Criteria) this;
        }

        public Criteria andTradeOrderNoLessThanOrEqualTo(String value) {
            addCriterion("trade_order_no <=", value, "tradeOrderNo");
            return (Criteria) this;
        }

        public Criteria andTradeOrderNoLike(String value) {
            addCriterion("trade_order_no like", value, "tradeOrderNo");
            return (Criteria) this;
        }

        public Criteria andTradeOrderNoNotLike(String value) {
            addCriterion("trade_order_no not like", value, "tradeOrderNo");
            return (Criteria) this;
        }

        public Criteria andTradeOrderNoIn(List<String> values) {
            addCriterion("trade_order_no in", values, "tradeOrderNo");
            return (Criteria) this;
        }

        public Criteria andTradeOrderNoNotIn(List<String> values) {
            addCriterion("trade_order_no not in", values, "tradeOrderNo");
            return (Criteria) this;
        }

        public Criteria andTradeOrderNoBetween(String value1, String value2) {
            addCriterion("trade_order_no between", value1, value2, "tradeOrderNo");
            return (Criteria) this;
        }

        public Criteria andTradeOrderNoNotBetween(String value1, String value2) {
            addCriterion("trade_order_no not between", value1, value2, "tradeOrderNo");
            return (Criteria) this;
        }

        public Criteria andOutdoorOrderNoIsNull() {
            addCriterion("outdoor_order_no is null");
            return (Criteria) this;
        }

        public Criteria andOutdoorOrderNoIsNotNull() {
            addCriterion("outdoor_order_no is not null");
            return (Criteria) this;
        }

        public Criteria andOutdoorOrderNoEqualTo(String value) {
            addCriterion("outdoor_order_no =", value, "outdoorOrderNo");
            return (Criteria) this;
        }

        public Criteria andOutdoorOrderNoNotEqualTo(String value) {
            addCriterion("outdoor_order_no <>", value, "outdoorOrderNo");
            return (Criteria) this;
        }

        public Criteria andOutdoorOrderNoGreaterThan(String value) {
            addCriterion("outdoor_order_no >", value, "outdoorOrderNo");
            return (Criteria) this;
        }

        public Criteria andOutdoorOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("outdoor_order_no >=", value, "outdoorOrderNo");
            return (Criteria) this;
        }

        public Criteria andOutdoorOrderNoLessThan(String value) {
            addCriterion("outdoor_order_no <", value, "outdoorOrderNo");
            return (Criteria) this;
        }

        public Criteria andOutdoorOrderNoLessThanOrEqualTo(String value) {
            addCriterion("outdoor_order_no <=", value, "outdoorOrderNo");
            return (Criteria) this;
        }

        public Criteria andOutdoorOrderNoLike(String value) {
            addCriterion("outdoor_order_no like", value, "outdoorOrderNo");
            return (Criteria) this;
        }

        public Criteria andOutdoorOrderNoNotLike(String value) {
            addCriterion("outdoor_order_no not like", value, "outdoorOrderNo");
            return (Criteria) this;
        }

        public Criteria andOutdoorOrderNoIn(List<String> values) {
            addCriterion("outdoor_order_no in", values, "outdoorOrderNo");
            return (Criteria) this;
        }

        public Criteria andOutdoorOrderNoNotIn(List<String> values) {
            addCriterion("outdoor_order_no not in", values, "outdoorOrderNo");
            return (Criteria) this;
        }

        public Criteria andOutdoorOrderNoBetween(String value1, String value2) {
            addCriterion("outdoor_order_no between", value1, value2, "outdoorOrderNo");
            return (Criteria) this;
        }

        public Criteria andOutdoorOrderNoNotBetween(String value1, String value2) {
            addCriterion("outdoor_order_no not between", value1, value2, "outdoorOrderNo");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andActivityIdIsNull() {
            addCriterion("activity_id is null");
            return (Criteria) this;
        }

        public Criteria andActivityIdIsNotNull() {
            addCriterion("activity_id is not null");
            return (Criteria) this;
        }

        public Criteria andActivityIdEqualTo(Integer value) {
            addCriterion("activity_id =", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdNotEqualTo(Integer value) {
            addCriterion("activity_id <>", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdGreaterThan(Integer value) {
            addCriterion("activity_id >", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("activity_id >=", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdLessThan(Integer value) {
            addCriterion("activity_id <", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdLessThanOrEqualTo(Integer value) {
            addCriterion("activity_id <=", value, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdIn(List<Integer> values) {
            addCriterion("activity_id in", values, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdNotIn(List<Integer> values) {
            addCriterion("activity_id not in", values, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdBetween(Integer value1, Integer value2) {
            addCriterion("activity_id between", value1, value2, "activityId");
            return (Criteria) this;
        }

        public Criteria andActivityIdNotBetween(Integer value1, Integer value2) {
            addCriterion("activity_id not between", value1, value2, "activityId");
            return (Criteria) this;
        }

        public Criteria andOrderAmountIsNull() {
            addCriterion("order_amount is null");
            return (Criteria) this;
        }

        public Criteria andOrderAmountIsNotNull() {
            addCriterion("order_amount is not null");
            return (Criteria) this;
        }

        public Criteria andOrderAmountEqualTo(BigDecimal value) {
            addCriterion("order_amount =", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountNotEqualTo(BigDecimal value) {
            addCriterion("order_amount <>", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountGreaterThan(BigDecimal value) {
            addCriterion("order_amount >", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("order_amount >=", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountLessThan(BigDecimal value) {
            addCriterion("order_amount <", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("order_amount <=", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountIn(List<BigDecimal> values) {
            addCriterion("order_amount in", values, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountNotIn(List<BigDecimal> values) {
            addCriterion("order_amount not in", values, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("order_amount between", value1, value2, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("order_amount not between", value1, value2, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountIsNull() {
            addCriterion("pay_amount is null");
            return (Criteria) this;
        }

        public Criteria andPayAmountIsNotNull() {
            addCriterion("pay_amount is not null");
            return (Criteria) this;
        }

        public Criteria andPayAmountEqualTo(BigDecimal value) {
            addCriterion("pay_amount =", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountNotEqualTo(BigDecimal value) {
            addCriterion("pay_amount <>", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountGreaterThan(BigDecimal value) {
            addCriterion("pay_amount >", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("pay_amount >=", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountLessThan(BigDecimal value) {
            addCriterion("pay_amount <", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("pay_amount <=", value, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountIn(List<BigDecimal> values) {
            addCriterion("pay_amount in", values, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountNotIn(List<BigDecimal> values) {
            addCriterion("pay_amount not in", values, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pay_amount between", value1, value2, "payAmount");
            return (Criteria) this;
        }

        public Criteria andPayAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pay_amount not between", value1, value2, "payAmount");
            return (Criteria) this;
        }

        public Criteria andAccumulateIsNull() {
            addCriterion("accumulate is null");
            return (Criteria) this;
        }

        public Criteria andAccumulateIsNotNull() {
            addCriterion("accumulate is not null");
            return (Criteria) this;
        }

        public Criteria andAccumulateEqualTo(Integer value) {
            addCriterion("accumulate =", value, "accumulate");
            return (Criteria) this;
        }

        public Criteria andAccumulateNotEqualTo(Integer value) {
            addCriterion("accumulate <>", value, "accumulate");
            return (Criteria) this;
        }

        public Criteria andAccumulateGreaterThan(Integer value) {
            addCriterion("accumulate >", value, "accumulate");
            return (Criteria) this;
        }

        public Criteria andAccumulateGreaterThanOrEqualTo(Integer value) {
            addCriterion("accumulate >=", value, "accumulate");
            return (Criteria) this;
        }

        public Criteria andAccumulateLessThan(Integer value) {
            addCriterion("accumulate <", value, "accumulate");
            return (Criteria) this;
        }

        public Criteria andAccumulateLessThanOrEqualTo(Integer value) {
            addCriterion("accumulate <=", value, "accumulate");
            return (Criteria) this;
        }

        public Criteria andAccumulateIn(List<Integer> values) {
            addCriterion("accumulate in", values, "accumulate");
            return (Criteria) this;
        }

        public Criteria andAccumulateNotIn(List<Integer> values) {
            addCriterion("accumulate not in", values, "accumulate");
            return (Criteria) this;
        }

        public Criteria andAccumulateBetween(Integer value1, Integer value2) {
            addCriterion("accumulate between", value1, value2, "accumulate");
            return (Criteria) this;
        }

        public Criteria andAccumulateNotBetween(Integer value1, Integer value2) {
            addCriterion("accumulate not between", value1, value2, "accumulate");
            return (Criteria) this;
        }

        public Criteria andAccumulateAmountIsNull() {
            addCriterion("accumulate_amount is null");
            return (Criteria) this;
        }

        public Criteria andAccumulateAmountIsNotNull() {
            addCriterion("accumulate_amount is not null");
            return (Criteria) this;
        }

        public Criteria andAccumulateAmountEqualTo(BigDecimal value) {
            addCriterion("accumulate_amount =", value, "accumulateAmount");
            return (Criteria) this;
        }

        public Criteria andAccumulateAmountNotEqualTo(BigDecimal value) {
            addCriterion("accumulate_amount <>", value, "accumulateAmount");
            return (Criteria) this;
        }

        public Criteria andAccumulateAmountGreaterThan(BigDecimal value) {
            addCriterion("accumulate_amount >", value, "accumulateAmount");
            return (Criteria) this;
        }

        public Criteria andAccumulateAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("accumulate_amount >=", value, "accumulateAmount");
            return (Criteria) this;
        }

        public Criteria andAccumulateAmountLessThan(BigDecimal value) {
            addCriterion("accumulate_amount <", value, "accumulateAmount");
            return (Criteria) this;
        }

        public Criteria andAccumulateAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("accumulate_amount <=", value, "accumulateAmount");
            return (Criteria) this;
        }

        public Criteria andAccumulateAmountIn(List<BigDecimal> values) {
            addCriterion("accumulate_amount in", values, "accumulateAmount");
            return (Criteria) this;
        }

        public Criteria andAccumulateAmountNotIn(List<BigDecimal> values) {
            addCriterion("accumulate_amount not in", values, "accumulateAmount");
            return (Criteria) this;
        }

        public Criteria andAccumulateAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("accumulate_amount between", value1, value2, "accumulateAmount");
            return (Criteria) this;
        }

        public Criteria andAccumulateAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("accumulate_amount not between", value1, value2, "accumulateAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountIsNull() {
            addCriterion("discount_amount is null");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountIsNotNull() {
            addCriterion("discount_amount is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountEqualTo(BigDecimal value) {
            addCriterion("discount_amount =", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountNotEqualTo(BigDecimal value) {
            addCriterion("discount_amount <>", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountGreaterThan(BigDecimal value) {
            addCriterion("discount_amount >", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_amount >=", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountLessThan(BigDecimal value) {
            addCriterion("discount_amount <", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_amount <=", value, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountIn(List<BigDecimal> values) {
            addCriterion("discount_amount in", values, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountNotIn(List<BigDecimal> values) {
            addCriterion("discount_amount not in", values, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_amount between", value1, value2, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andDiscountAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_amount not between", value1, value2, "discountAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIsNull() {
            addCriterion("refund_amount is null");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIsNotNull() {
            addCriterion("refund_amount is not null");
            return (Criteria) this;
        }

        public Criteria andRefundAmountEqualTo(BigDecimal value) {
            addCriterion("refund_amount =", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotEqualTo(BigDecimal value) {
            addCriterion("refund_amount <>", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountGreaterThan(BigDecimal value) {
            addCriterion("refund_amount >", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("refund_amount >=", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountLessThan(BigDecimal value) {
            addCriterion("refund_amount <", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("refund_amount <=", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIn(List<BigDecimal> values) {
            addCriterion("refund_amount in", values, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotIn(List<BigDecimal> values) {
            addCriterion("refund_amount not in", values, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refund_amount between", value1, value2, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("refund_amount not between", value1, value2, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAccumulateIsNull() {
            addCriterion("refund_accumulate is null");
            return (Criteria) this;
        }

        public Criteria andRefundAccumulateIsNotNull() {
            addCriterion("refund_accumulate is not null");
            return (Criteria) this;
        }

        public Criteria andRefundAccumulateEqualTo(Integer value) {
            addCriterion("refund_accumulate =", value, "refundAccumulate");
            return (Criteria) this;
        }

        public Criteria andRefundAccumulateNotEqualTo(Integer value) {
            addCriterion("refund_accumulate <>", value, "refundAccumulate");
            return (Criteria) this;
        }

        public Criteria andRefundAccumulateGreaterThan(Integer value) {
            addCriterion("refund_accumulate >", value, "refundAccumulate");
            return (Criteria) this;
        }

        public Criteria andRefundAccumulateGreaterThanOrEqualTo(Integer value) {
            addCriterion("refund_accumulate >=", value, "refundAccumulate");
            return (Criteria) this;
        }

        public Criteria andRefundAccumulateLessThan(Integer value) {
            addCriterion("refund_accumulate <", value, "refundAccumulate");
            return (Criteria) this;
        }

        public Criteria andRefundAccumulateLessThanOrEqualTo(Integer value) {
            addCriterion("refund_accumulate <=", value, "refundAccumulate");
            return (Criteria) this;
        }

        public Criteria andRefundAccumulateIn(List<Integer> values) {
            addCriterion("refund_accumulate in", values, "refundAccumulate");
            return (Criteria) this;
        }

        public Criteria andRefundAccumulateNotIn(List<Integer> values) {
            addCriterion("refund_accumulate not in", values, "refundAccumulate");
            return (Criteria) this;
        }

        public Criteria andRefundAccumulateBetween(Integer value1, Integer value2) {
            addCriterion("refund_accumulate between", value1, value2, "refundAccumulate");
            return (Criteria) this;
        }

        public Criteria andRefundAccumulateNotBetween(Integer value1, Integer value2) {
            addCriterion("refund_accumulate not between", value1, value2, "refundAccumulate");
            return (Criteria) this;
        }

        public Criteria andRefundReasonIsNull() {
            addCriterion("refund_reason is null");
            return (Criteria) this;
        }

        public Criteria andRefundReasonIsNotNull() {
            addCriterion("refund_reason is not null");
            return (Criteria) this;
        }

        public Criteria andRefundReasonEqualTo(String value) {
            addCriterion("refund_reason =", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonNotEqualTo(String value) {
            addCriterion("refund_reason <>", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonGreaterThan(String value) {
            addCriterion("refund_reason >", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonGreaterThanOrEqualTo(String value) {
            addCriterion("refund_reason >=", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonLessThan(String value) {
            addCriterion("refund_reason <", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonLessThanOrEqualTo(String value) {
            addCriterion("refund_reason <=", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonLike(String value) {
            addCriterion("refund_reason like", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonNotLike(String value) {
            addCriterion("refund_reason not like", value, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonIn(List<String> values) {
            addCriterion("refund_reason in", values, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonNotIn(List<String> values) {
            addCriterion("refund_reason not in", values, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonBetween(String value1, String value2) {
            addCriterion("refund_reason between", value1, value2, "refundReason");
            return (Criteria) this;
        }

        public Criteria andRefundReasonNotBetween(String value1, String value2) {
            addCriterion("refund_reason not between", value1, value2, "refundReason");
            return (Criteria) this;
        }

        public Criteria andDiscountIdIsNull() {
            addCriterion("discount_id is null");
            return (Criteria) this;
        }

        public Criteria andDiscountIdIsNotNull() {
            addCriterion("discount_id is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountIdEqualTo(Integer value) {
            addCriterion("discount_id =", value, "discountId");
            return (Criteria) this;
        }

        public Criteria andDiscountIdNotEqualTo(Integer value) {
            addCriterion("discount_id <>", value, "discountId");
            return (Criteria) this;
        }

        public Criteria andDiscountIdGreaterThan(Integer value) {
            addCriterion("discount_id >", value, "discountId");
            return (Criteria) this;
        }

        public Criteria andDiscountIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("discount_id >=", value, "discountId");
            return (Criteria) this;
        }

        public Criteria andDiscountIdLessThan(Integer value) {
            addCriterion("discount_id <", value, "discountId");
            return (Criteria) this;
        }

        public Criteria andDiscountIdLessThanOrEqualTo(Integer value) {
            addCriterion("discount_id <=", value, "discountId");
            return (Criteria) this;
        }

        public Criteria andDiscountIdIn(List<Integer> values) {
            addCriterion("discount_id in", values, "discountId");
            return (Criteria) this;
        }

        public Criteria andDiscountIdNotIn(List<Integer> values) {
            addCriterion("discount_id not in", values, "discountId");
            return (Criteria) this;
        }

        public Criteria andDiscountIdBetween(Integer value1, Integer value2) {
            addCriterion("discount_id between", value1, value2, "discountId");
            return (Criteria) this;
        }

        public Criteria andDiscountIdNotBetween(Integer value1, Integer value2) {
            addCriterion("discount_id not between", value1, value2, "discountId");
            return (Criteria) this;
        }

        public Criteria andSrcIdIsNull() {
            addCriterion("src_id is null");
            return (Criteria) this;
        }

        public Criteria andSrcIdIsNotNull() {
            addCriterion("src_id is not null");
            return (Criteria) this;
        }

        public Criteria andSrcIdEqualTo(Integer value) {
            addCriterion("src_id =", value, "srcId");
            return (Criteria) this;
        }

        public Criteria andSrcIdNotEqualTo(Integer value) {
            addCriterion("src_id <>", value, "srcId");
            return (Criteria) this;
        }

        public Criteria andSrcIdGreaterThan(Integer value) {
            addCriterion("src_id >", value, "srcId");
            return (Criteria) this;
        }

        public Criteria andSrcIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("src_id >=", value, "srcId");
            return (Criteria) this;
        }

        public Criteria andSrcIdLessThan(Integer value) {
            addCriterion("src_id <", value, "srcId");
            return (Criteria) this;
        }

        public Criteria andSrcIdLessThanOrEqualTo(Integer value) {
            addCriterion("src_id <=", value, "srcId");
            return (Criteria) this;
        }

        public Criteria andSrcIdIn(List<Integer> values) {
            addCriterion("src_id in", values, "srcId");
            return (Criteria) this;
        }

        public Criteria andSrcIdNotIn(List<Integer> values) {
            addCriterion("src_id not in", values, "srcId");
            return (Criteria) this;
        }

        public Criteria andSrcIdBetween(Integer value1, Integer value2) {
            addCriterion("src_id between", value1, value2, "srcId");
            return (Criteria) this;
        }

        public Criteria andSrcIdNotBetween(Integer value1, Integer value2) {
            addCriterion("src_id not between", value1, value2, "srcId");
            return (Criteria) this;
        }

        public Criteria andUserInfoParamIsNull() {
            addCriterion("user_info_param is null");
            return (Criteria) this;
        }

        public Criteria andUserInfoParamIsNotNull() {
            addCriterion("user_info_param is not null");
            return (Criteria) this;
        }

        public Criteria andUserInfoParamEqualTo(String value) {
            addCriterion("user_info_param =", value, "userInfoParam");
            return (Criteria) this;
        }

        public Criteria andUserInfoParamNotEqualTo(String value) {
            addCriterion("user_info_param <>", value, "userInfoParam");
            return (Criteria) this;
        }

        public Criteria andUserInfoParamGreaterThan(String value) {
            addCriterion("user_info_param >", value, "userInfoParam");
            return (Criteria) this;
        }

        public Criteria andUserInfoParamGreaterThanOrEqualTo(String value) {
            addCriterion("user_info_param >=", value, "userInfoParam");
            return (Criteria) this;
        }

        public Criteria andUserInfoParamLessThan(String value) {
            addCriterion("user_info_param <", value, "userInfoParam");
            return (Criteria) this;
        }

        public Criteria andUserInfoParamLessThanOrEqualTo(String value) {
            addCriterion("user_info_param <=", value, "userInfoParam");
            return (Criteria) this;
        }

        public Criteria andUserInfoParamLike(String value) {
            addCriterion("user_info_param like", value, "userInfoParam");
            return (Criteria) this;
        }

        public Criteria andUserInfoParamNotLike(String value) {
            addCriterion("user_info_param not like", value, "userInfoParam");
            return (Criteria) this;
        }

        public Criteria andUserInfoParamIn(List<String> values) {
            addCriterion("user_info_param in", values, "userInfoParam");
            return (Criteria) this;
        }

        public Criteria andUserInfoParamNotIn(List<String> values) {
            addCriterion("user_info_param not in", values, "userInfoParam");
            return (Criteria) this;
        }

        public Criteria andUserInfoParamBetween(String value1, String value2) {
            addCriterion("user_info_param between", value1, value2, "userInfoParam");
            return (Criteria) this;
        }

        public Criteria andUserInfoParamNotBetween(String value1, String value2) {
            addCriterion("user_info_param not between", value1, value2, "userInfoParam");
            return (Criteria) this;
        }

        public Criteria andUserNumIsNull() {
            addCriterion("user_num is null");
            return (Criteria) this;
        }

        public Criteria andUserNumIsNotNull() {
            addCriterion("user_num is not null");
            return (Criteria) this;
        }

        public Criteria andUserNumEqualTo(Integer value) {
            addCriterion("user_num =", value, "userNum");
            return (Criteria) this;
        }

        public Criteria andUserNumNotEqualTo(Integer value) {
            addCriterion("user_num <>", value, "userNum");
            return (Criteria) this;
        }

        public Criteria andUserNumGreaterThan(Integer value) {
            addCriterion("user_num >", value, "userNum");
            return (Criteria) this;
        }

        public Criteria andUserNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_num >=", value, "userNum");
            return (Criteria) this;
        }

        public Criteria andUserNumLessThan(Integer value) {
            addCriterion("user_num <", value, "userNum");
            return (Criteria) this;
        }

        public Criteria andUserNumLessThanOrEqualTo(Integer value) {
            addCriterion("user_num <=", value, "userNum");
            return (Criteria) this;
        }

        public Criteria andUserNumIn(List<Integer> values) {
            addCriterion("user_num in", values, "userNum");
            return (Criteria) this;
        }

        public Criteria andUserNumNotIn(List<Integer> values) {
            addCriterion("user_num not in", values, "userNum");
            return (Criteria) this;
        }

        public Criteria andUserNumBetween(Integer value1, Integer value2) {
            addCriterion("user_num between", value1, value2, "userNum");
            return (Criteria) this;
        }

        public Criteria andUserNumNotBetween(Integer value1, Integer value2) {
            addCriterion("user_num not between", value1, value2, "userNum");
            return (Criteria) this;
        }

        public Criteria andProductsIsNull() {
            addCriterion("products is null");
            return (Criteria) this;
        }

        public Criteria andProductsIsNotNull() {
            addCriterion("products is not null");
            return (Criteria) this;
        }

        public Criteria andProductsEqualTo(String value) {
            addCriterion("products =", value, "products");
            return (Criteria) this;
        }

        public Criteria andProductsNotEqualTo(String value) {
            addCriterion("products <>", value, "products");
            return (Criteria) this;
        }

        public Criteria andProductsGreaterThan(String value) {
            addCriterion("products >", value, "products");
            return (Criteria) this;
        }

        public Criteria andProductsGreaterThanOrEqualTo(String value) {
            addCriterion("products >=", value, "products");
            return (Criteria) this;
        }

        public Criteria andProductsLessThan(String value) {
            addCriterion("products <", value, "products");
            return (Criteria) this;
        }

        public Criteria andProductsLessThanOrEqualTo(String value) {
            addCriterion("products <=", value, "products");
            return (Criteria) this;
        }

        public Criteria andProductsLike(String value) {
            addCriterion("products like", value, "products");
            return (Criteria) this;
        }

        public Criteria andProductsNotLike(String value) {
            addCriterion("products not like", value, "products");
            return (Criteria) this;
        }

        public Criteria andProductsIn(List<String> values) {
            addCriterion("products in", values, "products");
            return (Criteria) this;
        }

        public Criteria andProductsNotIn(List<String> values) {
            addCriterion("products not in", values, "products");
            return (Criteria) this;
        }

        public Criteria andProductsBetween(String value1, String value2) {
            addCriterion("products between", value1, value2, "products");
            return (Criteria) this;
        }

        public Criteria andProductsNotBetween(String value1, String value2) {
            addCriterion("products not between", value1, value2, "products");
            return (Criteria) this;
        }

        public Criteria andDeadTimeIsNull() {
            addCriterion("dead_time is null");
            return (Criteria) this;
        }

        public Criteria andDeadTimeIsNotNull() {
            addCriterion("dead_time is not null");
            return (Criteria) this;
        }

        public Criteria andDeadTimeEqualTo(Date value) {
            addCriterion("dead_time =", value, "deadTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeNotEqualTo(Date value) {
            addCriterion("dead_time <>", value, "deadTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeGreaterThan(Date value) {
            addCriterion("dead_time >", value, "deadTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("dead_time >=", value, "deadTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeLessThan(Date value) {
            addCriterion("dead_time <", value, "deadTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeLessThanOrEqualTo(Date value) {
            addCriterion("dead_time <=", value, "deadTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeIn(List<Date> values) {
            addCriterion("dead_time in", values, "deadTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeNotIn(List<Date> values) {
            addCriterion("dead_time not in", values, "deadTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeBetween(Date value1, Date value2) {
            addCriterion("dead_time between", value1, value2, "deadTime");
            return (Criteria) this;
        }

        public Criteria andDeadTimeNotBetween(Date value1, Date value2) {
            addCriterion("dead_time not between", value1, value2, "deadTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeIsNull() {
            addCriterion("order_time is null");
            return (Criteria) this;
        }

        public Criteria andOrderTimeIsNotNull() {
            addCriterion("order_time is not null");
            return (Criteria) this;
        }

        public Criteria andOrderTimeEqualTo(Date value) {
            addCriterion("order_time =", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeNotEqualTo(Date value) {
            addCriterion("order_time <>", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeGreaterThan(Date value) {
            addCriterion("order_time >", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("order_time >=", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeLessThan(Date value) {
            addCriterion("order_time <", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeLessThanOrEqualTo(Date value) {
            addCriterion("order_time <=", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeIn(List<Date> values) {
            addCriterion("order_time in", values, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeNotIn(List<Date> values) {
            addCriterion("order_time not in", values, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeBetween(Date value1, Date value2) {
            addCriterion("order_time between", value1, value2, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeNotBetween(Date value1, Date value2) {
            addCriterion("order_time not between", value1, value2, "orderTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNull() {
            addCriterion("pay_time is null");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNotNull() {
            addCriterion("pay_time is not null");
            return (Criteria) this;
        }

        public Criteria andPayTimeEqualTo(Date value) {
            addCriterion("pay_time =", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotEqualTo(Date value) {
            addCriterion("pay_time <>", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThan(Date value) {
            addCriterion("pay_time >", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("pay_time >=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThan(Date value) {
            addCriterion("pay_time <", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThanOrEqualTo(Date value) {
            addCriterion("pay_time <=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeIn(List<Date> values) {
            addCriterion("pay_time in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotIn(List<Date> values) {
            addCriterion("pay_time not in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeBetween(Date value1, Date value2) {
            addCriterion("pay_time between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotBetween(Date value1, Date value2) {
            addCriterion("pay_time not between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andRefundTimeIsNull() {
            addCriterion("refund_time is null");
            return (Criteria) this;
        }

        public Criteria andRefundTimeIsNotNull() {
            addCriterion("refund_time is not null");
            return (Criteria) this;
        }

        public Criteria andRefundTimeEqualTo(Date value) {
            addCriterion("refund_time =", value, "refundTime");
            return (Criteria) this;
        }

        public Criteria andRefundTimeNotEqualTo(Date value) {
            addCriterion("refund_time <>", value, "refundTime");
            return (Criteria) this;
        }

        public Criteria andRefundTimeGreaterThan(Date value) {
            addCriterion("refund_time >", value, "refundTime");
            return (Criteria) this;
        }

        public Criteria andRefundTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("refund_time >=", value, "refundTime");
            return (Criteria) this;
        }

        public Criteria andRefundTimeLessThan(Date value) {
            addCriterion("refund_time <", value, "refundTime");
            return (Criteria) this;
        }

        public Criteria andRefundTimeLessThanOrEqualTo(Date value) {
            addCriterion("refund_time <=", value, "refundTime");
            return (Criteria) this;
        }

        public Criteria andRefundTimeIn(List<Date> values) {
            addCriterion("refund_time in", values, "refundTime");
            return (Criteria) this;
        }

        public Criteria andRefundTimeNotIn(List<Date> values) {
            addCriterion("refund_time not in", values, "refundTime");
            return (Criteria) this;
        }

        public Criteria andRefundTimeBetween(Date value1, Date value2) {
            addCriterion("refund_time between", value1, value2, "refundTime");
            return (Criteria) this;
        }

        public Criteria andRefundTimeNotBetween(Date value1, Date value2) {
            addCriterion("refund_time not between", value1, value2, "refundTime");
            return (Criteria) this;
        }

        public Criteria andPayWaitIsNull() {
            addCriterion("pay_wait is null");
            return (Criteria) this;
        }

        public Criteria andPayWaitIsNotNull() {
            addCriterion("pay_wait is not null");
            return (Criteria) this;
        }

        public Criteria andPayWaitEqualTo(Byte value) {
            addCriterion("pay_wait =", value, "payWait");
            return (Criteria) this;
        }

        public Criteria andPayWaitNotEqualTo(Byte value) {
            addCriterion("pay_wait <>", value, "payWait");
            return (Criteria) this;
        }

        public Criteria andPayWaitGreaterThan(Byte value) {
            addCriterion("pay_wait >", value, "payWait");
            return (Criteria) this;
        }

        public Criteria andPayWaitGreaterThanOrEqualTo(Byte value) {
            addCriterion("pay_wait >=", value, "payWait");
            return (Criteria) this;
        }

        public Criteria andPayWaitLessThan(Byte value) {
            addCriterion("pay_wait <", value, "payWait");
            return (Criteria) this;
        }

        public Criteria andPayWaitLessThanOrEqualTo(Byte value) {
            addCriterion("pay_wait <=", value, "payWait");
            return (Criteria) this;
        }

        public Criteria andPayWaitIn(List<Byte> values) {
            addCriterion("pay_wait in", values, "payWait");
            return (Criteria) this;
        }

        public Criteria andPayWaitNotIn(List<Byte> values) {
            addCriterion("pay_wait not in", values, "payWait");
            return (Criteria) this;
        }

        public Criteria andPayWaitBetween(Byte value1, Byte value2) {
            addCriterion("pay_wait between", value1, value2, "payWait");
            return (Criteria) this;
        }

        public Criteria andPayWaitNotBetween(Byte value1, Byte value2) {
            addCriterion("pay_wait not between", value1, value2, "payWait");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIsNull() {
            addCriterion("order_status is null");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIsNotNull() {
            addCriterion("order_status is not null");
            return (Criteria) this;
        }

        public Criteria andOrderStatusEqualTo(Byte value) {
            addCriterion("order_status =", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotEqualTo(Byte value) {
            addCriterion("order_status <>", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusGreaterThan(Byte value) {
            addCriterion("order_status >", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("order_status >=", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusLessThan(Byte value) {
            addCriterion("order_status <", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusLessThanOrEqualTo(Byte value) {
            addCriterion("order_status <=", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIn(List<Byte> values) {
            addCriterion("order_status in", values, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotIn(List<Byte> values) {
            addCriterion("order_status not in", values, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusBetween(Byte value1, Byte value2) {
            addCriterion("order_status between", value1, value2, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("order_status not between", value1, value2, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andIsCloseIsNull() {
            addCriterion("is_close is null");
            return (Criteria) this;
        }

        public Criteria andIsCloseIsNotNull() {
            addCriterion("is_close is not null");
            return (Criteria) this;
        }

        public Criteria andIsCloseEqualTo(Byte value) {
            addCriterion("is_close =", value, "isClose");
            return (Criteria) this;
        }

        public Criteria andIsCloseNotEqualTo(Byte value) {
            addCriterion("is_close <>", value, "isClose");
            return (Criteria) this;
        }

        public Criteria andIsCloseGreaterThan(Byte value) {
            addCriterion("is_close >", value, "isClose");
            return (Criteria) this;
        }

        public Criteria andIsCloseGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_close >=", value, "isClose");
            return (Criteria) this;
        }

        public Criteria andIsCloseLessThan(Byte value) {
            addCriterion("is_close <", value, "isClose");
            return (Criteria) this;
        }

        public Criteria andIsCloseLessThanOrEqualTo(Byte value) {
            addCriterion("is_close <=", value, "isClose");
            return (Criteria) this;
        }

        public Criteria andIsCloseIn(List<Byte> values) {
            addCriterion("is_close in", values, "isClose");
            return (Criteria) this;
        }

        public Criteria andIsCloseNotIn(List<Byte> values) {
            addCriterion("is_close not in", values, "isClose");
            return (Criteria) this;
        }

        public Criteria andIsCloseBetween(Byte value1, Byte value2) {
            addCriterion("is_close between", value1, value2, "isClose");
            return (Criteria) this;
        }

        public Criteria andIsCloseNotBetween(Byte value1, Byte value2) {
            addCriterion("is_close not between", value1, value2, "isClose");
            return (Criteria) this;
        }

        public Criteria andIsAccessIsNull() {
            addCriterion("is_access is null");
            return (Criteria) this;
        }

        public Criteria andIsAccessIsNotNull() {
            addCriterion("is_access is not null");
            return (Criteria) this;
        }

        public Criteria andIsAccessEqualTo(Byte value) {
            addCriterion("is_access =", value, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsAccessNotEqualTo(Byte value) {
            addCriterion("is_access <>", value, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsAccessGreaterThan(Byte value) {
            addCriterion("is_access >", value, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsAccessGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_access >=", value, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsAccessLessThan(Byte value) {
            addCriterion("is_access <", value, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsAccessLessThanOrEqualTo(Byte value) {
            addCriterion("is_access <=", value, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsAccessIn(List<Byte> values) {
            addCriterion("is_access in", values, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsAccessNotIn(List<Byte> values) {
            addCriterion("is_access not in", values, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsAccessBetween(Byte value1, Byte value2) {
            addCriterion("is_access between", value1, value2, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsAccessNotBetween(Byte value1, Byte value2) {
            addCriterion("is_access not between", value1, value2, "isAccess");
            return (Criteria) this;
        }

        public Criteria andOrderDisplayStatusIsNull() {
            addCriterion("order_display_status is null");
            return (Criteria) this;
        }

        public Criteria andOrderDisplayStatusIsNotNull() {
            addCriterion("order_display_status is not null");
            return (Criteria) this;
        }

        public Criteria andOrderDisplayStatusEqualTo(Byte value) {
            addCriterion("order_display_status =", value, "orderDisplayStatus");
            return (Criteria) this;
        }

        public Criteria andOrderDisplayStatusNotEqualTo(Byte value) {
            addCriterion("order_display_status <>", value, "orderDisplayStatus");
            return (Criteria) this;
        }

        public Criteria andOrderDisplayStatusGreaterThan(Byte value) {
            addCriterion("order_display_status >", value, "orderDisplayStatus");
            return (Criteria) this;
        }

        public Criteria andOrderDisplayStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("order_display_status >=", value, "orderDisplayStatus");
            return (Criteria) this;
        }

        public Criteria andOrderDisplayStatusLessThan(Byte value) {
            addCriterion("order_display_status <", value, "orderDisplayStatus");
            return (Criteria) this;
        }

        public Criteria andOrderDisplayStatusLessThanOrEqualTo(Byte value) {
            addCriterion("order_display_status <=", value, "orderDisplayStatus");
            return (Criteria) this;
        }

        public Criteria andOrderDisplayStatusIn(List<Byte> values) {
            addCriterion("order_display_status in", values, "orderDisplayStatus");
            return (Criteria) this;
        }

        public Criteria andOrderDisplayStatusNotIn(List<Byte> values) {
            addCriterion("order_display_status not in", values, "orderDisplayStatus");
            return (Criteria) this;
        }

        public Criteria andOrderDisplayStatusBetween(Byte value1, Byte value2) {
            addCriterion("order_display_status between", value1, value2, "orderDisplayStatus");
            return (Criteria) this;
        }

        public Criteria andOrderDisplayStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("order_display_status not between", value1, value2, "orderDisplayStatus");
            return (Criteria) this;
        }

        public Criteria andPayNotifyIsNull() {
            addCriterion("pay_notify is null");
            return (Criteria) this;
        }

        public Criteria andPayNotifyIsNotNull() {
            addCriterion("pay_notify is not null");
            return (Criteria) this;
        }

        public Criteria andPayNotifyEqualTo(Byte value) {
            addCriterion("pay_notify =", value, "payNotify");
            return (Criteria) this;
        }

        public Criteria andPayNotifyNotEqualTo(Byte value) {
            addCriterion("pay_notify <>", value, "payNotify");
            return (Criteria) this;
        }

        public Criteria andPayNotifyGreaterThan(Byte value) {
            addCriterion("pay_notify >", value, "payNotify");
            return (Criteria) this;
        }

        public Criteria andPayNotifyGreaterThanOrEqualTo(Byte value) {
            addCriterion("pay_notify >=", value, "payNotify");
            return (Criteria) this;
        }

        public Criteria andPayNotifyLessThan(Byte value) {
            addCriterion("pay_notify <", value, "payNotify");
            return (Criteria) this;
        }

        public Criteria andPayNotifyLessThanOrEqualTo(Byte value) {
            addCriterion("pay_notify <=", value, "payNotify");
            return (Criteria) this;
        }

        public Criteria andPayNotifyIn(List<Byte> values) {
            addCriterion("pay_notify in", values, "payNotify");
            return (Criteria) this;
        }

        public Criteria andPayNotifyNotIn(List<Byte> values) {
            addCriterion("pay_notify not in", values, "payNotify");
            return (Criteria) this;
        }

        public Criteria andPayNotifyBetween(Byte value1, Byte value2) {
            addCriterion("pay_notify between", value1, value2, "payNotify");
            return (Criteria) this;
        }

        public Criteria andPayNotifyNotBetween(Byte value1, Byte value2) {
            addCriterion("pay_notify not between", value1, value2, "payNotify");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyIsNull() {
            addCriterion("refund_notify is null");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyIsNotNull() {
            addCriterion("refund_notify is not null");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyEqualTo(Byte value) {
            addCriterion("refund_notify =", value, "refundNotify");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyNotEqualTo(Byte value) {
            addCriterion("refund_notify <>", value, "refundNotify");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyGreaterThan(Byte value) {
            addCriterion("refund_notify >", value, "refundNotify");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyGreaterThanOrEqualTo(Byte value) {
            addCriterion("refund_notify >=", value, "refundNotify");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyLessThan(Byte value) {
            addCriterion("refund_notify <", value, "refundNotify");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyLessThanOrEqualTo(Byte value) {
            addCriterion("refund_notify <=", value, "refundNotify");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyIn(List<Byte> values) {
            addCriterion("refund_notify in", values, "refundNotify");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyNotIn(List<Byte> values) {
            addCriterion("refund_notify not in", values, "refundNotify");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyBetween(Byte value1, Byte value2) {
            addCriterion("refund_notify between", value1, value2, "refundNotify");
            return (Criteria) this;
        }

        public Criteria andRefundNotifyNotBetween(Byte value1, Byte value2) {
            addCriterion("refund_notify not between", value1, value2, "refundNotify");
            return (Criteria) this;
        }

        public Criteria andCancelNotifyIsNull() {
            addCriterion("cancel_notify is null");
            return (Criteria) this;
        }

        public Criteria andCancelNotifyIsNotNull() {
            addCriterion("cancel_notify is not null");
            return (Criteria) this;
        }

        public Criteria andCancelNotifyEqualTo(Byte value) {
            addCriterion("cancel_notify =", value, "cancelNotify");
            return (Criteria) this;
        }

        public Criteria andCancelNotifyNotEqualTo(Byte value) {
            addCriterion("cancel_notify <>", value, "cancelNotify");
            return (Criteria) this;
        }

        public Criteria andCancelNotifyGreaterThan(Byte value) {
            addCriterion("cancel_notify >", value, "cancelNotify");
            return (Criteria) this;
        }

        public Criteria andCancelNotifyGreaterThanOrEqualTo(Byte value) {
            addCriterion("cancel_notify >=", value, "cancelNotify");
            return (Criteria) this;
        }

        public Criteria andCancelNotifyLessThan(Byte value) {
            addCriterion("cancel_notify <", value, "cancelNotify");
            return (Criteria) this;
        }

        public Criteria andCancelNotifyLessThanOrEqualTo(Byte value) {
            addCriterion("cancel_notify <=", value, "cancelNotify");
            return (Criteria) this;
        }

        public Criteria andCancelNotifyIn(List<Byte> values) {
            addCriterion("cancel_notify in", values, "cancelNotify");
            return (Criteria) this;
        }

        public Criteria andCancelNotifyNotIn(List<Byte> values) {
            addCriterion("cancel_notify not in", values, "cancelNotify");
            return (Criteria) this;
        }

        public Criteria andCancelNotifyBetween(Byte value1, Byte value2) {
            addCriterion("cancel_notify between", value1, value2, "cancelNotify");
            return (Criteria) this;
        }

        public Criteria andCancelNotifyNotBetween(Byte value1, Byte value2) {
            addCriterion("cancel_notify not between", value1, value2, "cancelNotify");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}